
    <div class="col-lg-4 col-md-6 pruduct-list-padding ">        
        <a href="<?php the_permalink(); ?>" target="_blank"><img class="img-fluid responsive" src="<?php echo  wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), "Full")[0];?>" alt=""></a>
        <p class="product-list-title"><a class="shenglue" alt="<?php echo get_the_title() ?>" title="<?php echo get_the_title() ?>" href="<?php the_permalink(); ?>" target="_blank"><?php echo get_the_title(); ?></a></p>
        <p class="product-list-des">
        <?php if (has_excerpt()) {
            echo $description = trim(get_the_excerpt()); //文章编辑中的摘要
        }else {
            $article_des=mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 170,"……");
            $str = mb_ereg_replace('^(　| )+', '', $article_des);
            $str = mb_ereg_replace('(　| )+$', '', $str);
            echo $str ; //文章编辑中若无摘要，自定截取文章内容字数做为摘要
        } ?></p>
        <p class="product-list-date"><?php the_time('Y-m-d');   ?></p>
    </div>
